.class public Lcom/example/inshopbuy/InShopOrderParticular;
.super Landroid/app/Activity;
.source "InShopOrderParticular.java"


# instance fields
.field private add_time:Landroid/widget/TextView;

.field private bean:Lcom/example/inshopbuy/InShopOrdersBean;

.field private close:Landroid/widget/ImageView;

.field private context:Landroid/content/Context;

.field private h:Landroid/os/Handler;

.field private huiname:Landroid/widget/TextView;

.field private m:Lmyapp/MyApp;

.field private order_num:Landroid/widget/TextView;

.field private orderid:Ljava/lang/String;

.field private paystate:Landroid/widget/TextView;

.field private paystyle:Landroid/widget/TextView;

.field private sfcost:Landroid/widget/TextView;

.field private shopicon:Landroid/widget/ImageView;

.field private shopname:Landroid/widget/TextView;

.field private xfcost:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 28
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/example/inshopbuy/InShopOrderParticular;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 30
    iget-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->context:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$1(Lcom/example/inshopbuy/InShopOrderParticular;)Lcom/example/inshopbuy/InShopOrdersBean;
    .locals 1

    .prologue
    .line 33
    iget-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->bean:Lcom/example/inshopbuy/InShopOrdersBean;

    return-object v0
.end method

.method static synthetic access$2(Lcom/example/inshopbuy/InShopOrderParticular;)V
    .locals 0

    .prologue
    .line 66
    invoke-direct {p0}, Lcom/example/inshopbuy/InShopOrderParticular;->setViewData()V

    return-void
.end method

.method static synthetic access$3(Lcom/example/inshopbuy/InShopOrderParticular;)Lmyapp/MyApp;
    .locals 1

    .prologue
    .line 31
    iget-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->m:Lmyapp/MyApp;

    return-object v0
.end method

.method static synthetic access$4(Lcom/example/inshopbuy/InShopOrderParticular;)Landroid/os/Handler;
    .locals 1

    .prologue
    .line 48
    iget-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->h:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$5(Lcom/example/inshopbuy/InShopOrderParticular;Lcom/example/inshopbuy/InShopOrdersBean;)V
    .locals 0

    .prologue
    .line 33
    iput-object p1, p0, Lcom/example/inshopbuy/InShopOrderParticular;->bean:Lcom/example/inshopbuy/InShopOrdersBean;

    return-void
.end method

.method private initView()V
    .locals 1

    .prologue
    .line 54
    const v0, 0x7f0c00a8

    invoke-virtual {p0, v0}, Lcom/example/inshopbuy/InShopOrderParticular;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->close:Landroid/widget/ImageView;

    .line 55
    const v0, 0x7f0c009b

    invoke-virtual {p0, v0}, Lcom/example/inshopbuy/InShopOrderParticular;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->shopname:Landroid/widget/TextView;

    .line 56
    const v0, 0x7f0c00a9

    invoke-virtual {p0, v0}, Lcom/example/inshopbuy/InShopOrderParticular;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->shopicon:Landroid/widget/ImageView;

    .line 57
    const v0, 0x7f0c007e

    invoke-virtual {p0, v0}, Lcom/example/inshopbuy/InShopOrderParticular;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->order_num:Landroid/widget/TextView;

    .line 58
    const v0, 0x7f0c00ac

    invoke-virtual {p0, v0}, Lcom/example/inshopbuy/InShopOrderParticular;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->add_time:Landroid/widget/TextView;

    .line 59
    const v0, 0x7f0c00ad

    invoke-virtual {p0, v0}, Lcom/example/inshopbuy/InShopOrderParticular;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->sfcost:Landroid/widget/TextView;

    .line 60
    const v0, 0x7f0c00ae

    invoke-virtual {p0, v0}, Lcom/example/inshopbuy/InShopOrderParticular;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->xfcost:Landroid/widget/TextView;

    .line 61
    const v0, 0x7f0c00af

    invoke-virtual {p0, v0}, Lcom/example/inshopbuy/InShopOrderParticular;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->huiname:Landroid/widget/TextView;

    .line 62
    const v0, 0x7f0c00b0

    invoke-virtual {p0, v0}, Lcom/example/inshopbuy/InShopOrderParticular;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->paystyle:Landroid/widget/TextView;

    .line 63
    const v0, 0x7f0c00b1

    invoke-virtual {p0, v0}, Lcom/example/inshopbuy/InShopOrderParticular;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->paystate:Landroid/widget/TextView;

    .line 64
    return-void
.end method

.method private setViewData()V
    .locals 2

    .prologue
    .line 67
    iget-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->shopname:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/example/inshopbuy/InShopOrderParticular;->bean:Lcom/example/inshopbuy/InShopOrdersBean;

    invoke-virtual {v1}, Lcom/example/inshopbuy/InShopOrdersBean;->getShopname()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 68
    iget-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->order_num:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/example/inshopbuy/InShopOrderParticular;->bean:Lcom/example/inshopbuy/InShopOrdersBean;

    invoke-virtual {v1}, Lcom/example/inshopbuy/InShopOrdersBean;->getDno()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 69
    iget-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->add_time:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/example/inshopbuy/InShopOrderParticular;->bean:Lcom/example/inshopbuy/InShopOrdersBean;

    invoke-virtual {v1}, Lcom/example/inshopbuy/InShopOrdersBean;->getAddtime()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 70
    iget-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->sfcost:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/example/inshopbuy/InShopOrderParticular;->bean:Lcom/example/inshopbuy/InShopOrdersBean;

    invoke-virtual {v1}, Lcom/example/inshopbuy/InShopOrdersBean;->getSjcost()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 71
    iget-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->xfcost:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/example/inshopbuy/InShopOrderParticular;->bean:Lcom/example/inshopbuy/InShopOrdersBean;

    invoke-virtual {v1}, Lcom/example/inshopbuy/InShopOrdersBean;->getXfcost()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 72
    iget-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->huiname:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/example/inshopbuy/InShopOrderParticular;->bean:Lcom/example/inshopbuy/InShopOrdersBean;

    invoke-virtual {v1}, Lcom/example/inshopbuy/InShopOrdersBean;->getHuiname()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 74
    iget-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->bean:Lcom/example/inshopbuy/InShopOrdersBean;

    invoke-virtual {v0}, Lcom/example/inshopbuy/InShopOrdersBean;->getPaytype()Ljava/lang/String;

    move-result-object v0

    const-string v1, "0"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 75
    iget-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->paystyle:Landroid/widget/TextView;

    const-string v1, "\u4f59\u989d\u652f\u4ed8"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 82
    :goto_0
    iget-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->bean:Lcom/example/inshopbuy/InShopOrdersBean;

    invoke-virtual {v0}, Lcom/example/inshopbuy/InShopOrdersBean;->getPaystatus()Ljava/lang/String;

    move-result-object v0

    const-string v1, "1"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 83
    iget-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->paystate:Landroid/widget/TextView;

    const-string v1, "(\u5df2\u4ed8)"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 88
    :goto_1
    return-void

    .line 78
    :cond_0
    iget-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->paystyle:Landroid/widget/TextView;

    const-string v1, "\u5728\u7ebf\u652f\u4ed8"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 86
    :cond_1
    iget-object v0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->paystate:Landroid/widget/TextView;

    const-string v1, "(\u672a\u4ed8)"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_1
.end method


# virtual methods
.method public getHttpData(Ljava/lang/String;)V
    .locals 2
    .param p1, "orderid"    # Ljava/lang/String;

    .prologue
    .line 169
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/example/inshopbuy/InShopOrderParticular$4;

    invoke-direct {v1, p0, p1}, Lcom/example/inshopbuy/InShopOrderParticular$4;-><init>(Lcom/example/inshopbuy/InShopOrderParticular;Ljava/lang/String;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 230
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    .line 233
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 94
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 95
    const v1, 0x7f03001b

    invoke-virtual {p0, v1}, Lcom/example/inshopbuy/InShopOrderParticular;->setContentView(I)V

    .line 96
    iput-object p0, p0, Lcom/example/inshopbuy/InShopOrderParticular;->context:Landroid/content/Context;

    .line 97
    iget-object v1, p0, Lcom/example/inshopbuy/InShopOrderParticular;->context:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    check-cast v1, Lmyapp/MyApp;

    iput-object v1, p0, Lcom/example/inshopbuy/InShopOrderParticular;->m:Lmyapp/MyApp;

    .line 98
    invoke-virtual {p0}, Lcom/example/inshopbuy/InShopOrderParticular;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string v2, "orderid"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/example/inshopbuy/InShopOrderParticular;->orderid:Ljava/lang/String;

    .line 100
    invoke-direct {p0}, Lcom/example/inshopbuy/InShopOrderParticular;->initView()V

    .line 102
    const/high16 v1, 0x7f0c0000

    invoke-virtual {p0, v1}, Lcom/example/inshopbuy/InShopOrderParticular;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    .line 103
    .local v0, "top":Landroid/widget/LinearLayout;
    iget-object v1, p0, Lcom/example/inshopbuy/InShopOrderParticular;->m:Lmyapp/MyApp;

    invoke-virtual {v1}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v1

    const-string v2, "1"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 104
    const v1, 0x7f070026

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 106
    :cond_0
    iget-object v1, p0, Lcom/example/inshopbuy/InShopOrderParticular;->close:Landroid/widget/ImageView;

    new-instance v2, Lcom/example/inshopbuy/InShopOrderParticular$1;

    invoke-direct {v2, p0}, Lcom/example/inshopbuy/InShopOrderParticular$1;-><init>(Lcom/example/inshopbuy/InShopOrderParticular;)V

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 113
    iget-object v1, p0, Lcom/example/inshopbuy/InShopOrderParticular;->shopicon:Landroid/widget/ImageView;

    new-instance v2, Lcom/example/inshopbuy/InShopOrderParticular$2;

    invoke-direct {v2, p0}, Lcom/example/inshopbuy/InShopOrderParticular$2;-><init>(Lcom/example/inshopbuy/InShopOrderParticular;)V

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 124
    new-instance v1, Lcom/example/inshopbuy/InShopOrderParticular$3;

    invoke-direct {v1, p0}, Lcom/example/inshopbuy/InShopOrderParticular$3;-><init>(Lcom/example/inshopbuy/InShopOrderParticular;)V

    iput-object v1, p0, Lcom/example/inshopbuy/InShopOrderParticular;->h:Landroid/os/Handler;

    .line 161
    iget-object v1, p0, Lcom/example/inshopbuy/InShopOrderParticular;->orderid:Ljava/lang/String;

    invoke-virtual {p0, v1}, Lcom/example/inshopbuy/InShopOrderParticular;->getHttpData(Ljava/lang/String;)V

    .line 165
    return-void
.end method
